﻿namespace UnityEngine
{
    using System;
    using System.Runtime.CompilerServices;

    public sealed class AndroidInput
    {
        [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall]
        public static extern Touch GetSecondaryTouch(int index);

        private static bool _secondaryTouchEnabled;
        public static bool secondaryTouchEnabled
        {
            [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall]
            get
            {
                return _secondaryTouchEnabled;
            }
        }

        private static int _secondaryTouchHeight;
        public static int secondaryTouchHeight { [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] get { return _secondaryTouchHeight; } }

        private static int _secondaryTouchWidth;
        public static int secondaryTouchWidth { [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] get { return _secondaryTouchWidth; } }

        private static int _touchCountSecondary;
        public static int touchCountSecondary { [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] get { return _touchCountSecondary; } }
    }
}

